import { useTheme } from "vuetify";
import { computed } from "vue";

export const useMode = function () {
    const theme = useTheme();
    const mode = computed(() => {
        const val = theme.global.name.value;
        console.log(val);
        return val;
    });
    return { mode };
};
